import React from 'react';
import {connect} from 'dva';
import {Layout} from 'antd';
import './index.less';
import BaseComponent from "components/Base/BaseComponent";

const {Content} = Layout;

@connect()
export default class extends BaseComponent {

  render() {

    return (
      <div className='flex-demo'>

        <h3> 水平排布 绿色沾满</h3>
        <div className='sub'>
          <div className='ch1'></div>
          <div className='ch2'></div>
        </div>

        <h3> 垂直排布 水平居中</h3>
        <div className='sub2'>
          <div className='ch1'></div>
          <div className='ch2'></div>
        </div>
      </div>
    );
  }
}
